.home{
    width: 100%;
    height: 100%;
    /* 开启弹性布局 */
    display: flex;
    flex-direction: column;
    /* 头部 */
    >.top{
        height: 50px;
        background-color: #42A5F5;
        display: flex;
        align-items: center;
        justify-content: center;
        > input{
            height: 50px;
            padding-left: 10px;
            width: 80%;
            height: 60%;
            border-radius: 10px;
            border: none;
        }
    }
    /* 内容区 */
    > .content{
        overflow-y: auto;
        flex: 1;
        > .swiper{
            width: 100%;
            height: 180px;
        }
        > h2{
            text-align: center;
            margin-top: 20px;
            font-size: 20px;
            color: #42A5F5;
        }
        > .subject{
            margin-top: 10px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-evenly;
            padding-top: 10px;
            background-color: #fff;
            > p{
                width: 23%;
                height: 84%;
                border-radius: 10px;
                overflow: hidden;
                margin-bottom: 10px;
                text-align: center;
            }
        }
        > .student{
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-evenly;
            >div{
                width: 45%;
                background-color: #fff;
                margin-top: 10px;
                border-radius: 5px;
                > p{
                    padding-left: 5px;
                }
            }
            &::after{
                content:"";
                display:block;
                width: 45%;
                height: 0;
            }
        }
    }
    /* 尾部区 */
    > .footer{
        display: flex;
        justify-content: space-between;
        padding: 5px 20px;
        color: #42A5F5;
        border-top: 2px solid #ccc;
        margin-top: 5px;
        height: 35px;
        > div{
            p{
                width: 30px;
                height: 30px;
            }
        }   
    }
}